@keyframes enableEvents {
  to {
    pointer-events: auto;
  }
}

.slideOverlay {
  z-index: 1;
  position: absolute;
  cursor: pointer;
  display: flex;
  align-items: center;
  width: 0;
  height: 0;
  top: 0;
  left: 0;
  background: rgb(0 0 0 / 0%);
  transition: background ease-in-out 0.3s;
  pointer-events: none;
}

.iconBtn {
  composes: theme-background-surface theme-text-on-surface theme-ripple from global;
  box-sizing: border-box;
  margin-left: 36px;
  width: 48px;
  height: 48px;
  padding: 16px;
  border-radius: 50%;
  display: none;
  overflow: hidden;
  align-items: center;
  transform: rotate(90deg);
}
.icon {
  width: 100%;
}

.open .slideOverlay {
  width: 100%;
  height: 100%;
  background: rgb(0 0 0 / 35%);
  animation: enableEvents 0.3s forwards;

  & > div {
    display: flex;
  }
}
